public class Demo05_CameraLimitSpeed {

    private int cameraId;
    private double limitSpeed;

    public Demo05_CameraLimitSpeed() {
    }

    public Demo05_CameraLimitSpeed(int cameraId, double limitSpeed) {
        this.cameraId = cameraId;
        this.limitSpeed = limitSpeed;
    }

    public int getCameraId() {
        return cameraId;
    }

    public void setCameraId(int cameraId) {
        this.cameraId = cameraId;
    }

    public double getLimitSpeed() {
        return limitSpeed;
    }

    public void setLimitSpeed(double limitSpeed) {
        this.limitSpeed = limitSpeed;
    }

    @Override
    public String toString() {
        return "Demo05_CameraLimitSpeed{" +
                "cameraId=" + cameraId +
                ", limitSpeed=" + limitSpeed +
                '}';
    }
}
